package com.xiongtian.springframework.core.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-03-27  09:59
 * @Version: 1.0
 * @Description: 资源加载接口的定义和实现
 */

public interface Resource {

    /**
     * 获取资源的输入流
     *
     * @return InputStream
     * @throws IOException IOException
     */
    InputStream getInputStream() throws IOException;
}
